package com.chen.pay.system.paysystem.service.impl;

import com.chen.pay.system.paysystem.entity.PayEntity;
import com.chen.pay.system.paysystem.mapper.PayMapper;
import com.chen.pay.system.paysystem.service.PayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 支付实现
 * @author :master
 */
@Service
public class PayServiceImpl implements PayService {

    @Autowired
    private PayMapper mapper;


    @Override
    public void addPay(PayEntity payEntity) {
        mapper.addPay(payEntity);
    }

    @Override
    public void updatePay(PayEntity payEntity) {
        mapper.updatePay(payEntity);
    }
}
